This page last changed on Jun 04, 2008 by ddamelin.

Creating, uploading and using NetLogo models

Creating and saving a model

  1. Download NetLogo from the following site: NetLogo homepage
  2. Open NetLogo and build a new model or select and modify a model from the Models Library or the Community Models. This site has tutorials, code examples, and a User Manual under Help.
  3. Save the model to your computer by going to the File menu and selecting either Save or Save As. Give your new model a name.

Uploading the model

Now you will upload your model to the Internet.

  1. Go to the NetLogo Community Models upload page.
  2. Enter the appropriate information in the fields of the window.
  3. Use the "browse" button to find your model on your computer.
  4. Press "upload". Your model will be uploaded onto the NetLogo Community Models website. Your model will be processed promptly, usually within a day.
  5. When you return to the Community Models website, you will find your model listed. Click on your model name.
  6. Then right-click (Mac: ctrl-click) on "run modelname in your browser". This will copy the URL that refers to your model.

Creating a DIY model

Now you are going to create a new DIY model that uses the NetLogo model you just created.

  1. Go to http://itsidiy.concord.org, and select Models from the menu of the left.
  2. Select "New model" from the top of the list of models.
  3. Give your model a name and select "NetLogo" as the model type.
  1. Paste in the URL of your model that you saved from the NetLogo Community Models page (above).
  2. Fill in the rest of the information as necessary. All the fields are optional.
  3. Hit the Save button at the top or bottom of the screen.
  4. Now test that the model works by clicking on Run at the top of the model's page.

Using the model in an activity

Finally, we are going to create a new activity which uses the model you created.

  1. Click on the Activities link from the menu on the left.
  2. Click Create a New Activity from the top of the list.
  3. Give your new activity a name, an introduction, and any other content you would like.
  4. Scroll down to the first Data Collection section. Check the box next to Model, and then find and select your new model from the pull-down list (it will probably be near the bottom).
  5. Click the Save button at the top or bottom of the page.
  6. Click the Run link at the top of the page.

You should now see your model running in your new activity!


createnewdiymodel-1.jpg (image/jpeg)
createnewdiymodel-NL.jpg (image/jpeg)
runmodelNL.jpg (image/jpeg)
Document generated by Confluence on Jan 27, 2014 16:57